package com.huatai.saas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @BelongsProject: nanming-saas
 * @BelongsPackage: com.huatai.saas.entity
 * @Author: hecaiy
 * @CreateTime: 2024-05-27  10:39
 * @Description: TODO
 * @Version: 1.0
 */
@TableName(value ="scene_picture")
@Data
@ApiModel(value = "场景轮播图列表", description = "场景轮播图列表")
public class ScenePictureEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.ASSIGN_ID)
	private Long id;

	@ApiModelProperty(value = "场景id",required = true)
	@TableField("sf_id")
	private Long sfId;

	@ApiModelProperty(value = "图片地址",required = true)
	@TableField("path")
	private String path;

	@ApiModelProperty(value = "是否主图(0否1是)",required = true)
	@TableField("is_main")
	private Integer isMain;

	@ApiModelProperty(value = "图片类型",required = true)
	@TableField("content_type")
	private String contentType;
}
